<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/addpage.css" />
    <title>友链配置</title>
    <style>

    </style>
    <!--地址添加样式-->
    <link rel="stylesheet" href="../../../ht-css/replaceAddress/addAddress.css">
    <title>二级域名管理</title>
</head>

<body data-id="642">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 运营管理<span class="c-gray en">&gt;</span> 二级域名管理</nav>
    <article class="page-container">
        <div id="tab_topnav" class="HuiTab">
            <div class="tabBar clearfix">
                <span>二级域名管理</span>
                <span>轮播图管理</span>
            </div>
            <div class="tabCon bk-gray bg-1" style="display: none;">
                <div class="lh-30 mb-10 ml-20 mt-20">
                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                            <tr>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-80 lh-26" style="margin-left: -43px;">名称：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" id="name" placeholder="请输入名称" autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-80 lh-26" style="margin-left: -43px;">链接：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" id="subDomain1" placeholder="请输入链接" autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-3-1">

                                </td>

                            </tr>

                        </thead>
                    </table>
                    <div id="newConfiguration" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;">
                        <div class="modal-dialog">
                            <div class="modal-content radius" style="height:539px;width:653px;overflow-y: auto;overflow-x: hidden;">
                                <div class="modal-header">
                                    <h3 class="modal-title"><b class="addressTitle">新增</b></h3>
                                    <a class="close" onclick="close_model()" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true">×</a>
                                </div>
                                <input type="hidden" class="ship_add_id">
                                <div class="pop_win pop_receiver">
                                    <div class="info">
                                        <div class="clearfix">
                                            <input id="newConfigurationid" style="display: none">
                                            <label>名称：</label><input name="" type="text" placeholder="请输入名称" maxlength="100" id="name2" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>https://</label><input name="" type="text" placeholder="" id="subDomain" class="detailedAddress qing" onKeyUp="value=value.replace(/[\W]/g,'')" maxlength="50">.fsyuncai.com
                                        </div>
                                        <div class="clearfix">
                                            <label>logo：</label>
                                            <div class="ceshi pic_up">
                                                <img title="" width="50" height="50" id="secondarysrc" src="" class="myImg qing2" class="mr-10">
                                            </div>
                                            <div class="pic_up_btn" style="margin-top: 10px">
                                                <input value="" id="fileUp1" style="display: none">
                                                <input type="file" class="fileUp" onchange="putDataToPage(event,this)" multiple="multiple" style="display: none">
                                                </input>
                                                <span class="ml-10" style="color: #dd0000">图片尺寸:220px*65px</span>
                                                <a class="" onclick="addBtn(this,1)" style="margin-left: 8px" id="df"><span >上传</span></a>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                            <label>页签名称：</label><input name="" type="text" placeholder="请输入页签名称" maxlength="30" id="bookMark" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>登录语：</label><input name="" type="text" placeholder="请输入登录语" id="loginMsg" maxlength="30" onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')" onpaste="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')"
                                                oncontextmenu="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>登录语颜色：</label><input name="color" type="text" placeholder="登录语颜色" maxlength="30" id="" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>页尾图片：</label>
                                            <div class="ceshi pic_up">
                                                <img title="" width="50" height="50" id="secondarysrc2" src="" class="myImg" class="mr-10">
                                            </div>
                                            <div class="pic_up_btn" style="margin-top: 10px">
                                                <input value="" id="fileUp2" style="display: none">
                                                <input type="file" class="fileUp" onchange="putDataToPage2(event,this)" multiple="multiple" style="display: none">
                                                </input>
                                                <span class="ml-10" style="color: #dd0000">图片尺寸:1200px*260px</span>
                                                <a class="" onclick="addBtn2(this,1)" style="margin-left: 8px" id="df2"><span >上传</span></a>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                            <label>备注：</label><textarea name="remarkVal" class="textarea radius" oninput="this.value = this.value.substring(0,50)" id="remark" style="width: 300px;height: 80px"></textarea>
                                            <input value="" id="cid" style="display: none">
                                        </div>
                                        <div class="clearfix">
                                            <label>登录头像：</label>
                                            <div class="ceshi pic_up">
                                                <img title="" width="50" height="50" id="headPortrait-img" src="" class="myImg" class="mr-10">
                                            </div>
                                            <div class="pic_up_btn" style="margin-top: 10px">
                                                <input value="" id="headPortrait" style="display: none">
                                                <input type="file" class="headPortrait" onchange="uploadPortrait(event,this)" multiple="multiple" style="display: none">
                                                </input>
                                                <span class="ml-10" style="color: #dd0000">图片尺寸:230px*119px</span>
                                                <a class="" onclick="addBtnUploadPortrait()" style="margin-left: 8px" id="df2"><span >上传</span></a>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                            <label>方盛头条图片：</label>
                                            <div class="ceshi pic_up">
                                                <img title="" width="50" height="50" id="xfs-img" src="" class="myImg" class="mr-10">
                                            </div>
                                            <div class="pic_up_btn" style="margin-top: 10px">
                                                <input value="" id="headlines-img" style="display: none">
                                                <input type="file" class="headlines-img" onchange="uploadHeadlines(event,this)" multiple="multiple" style="display: none">
                                                </input>
                                                <span class="ml-10" style="color: #dd0000">图片尺寸:152px*28px</span>
                                                <a class="" onclick="addHeadlinesImg()" style="margin-left: 8px" id="df2"><span >上传</span></a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="text-c pt-30" style="margin: 4px 0;padding-bottom: 10px;"><a onclick="determine()" class="btn btn-secondary radius size-L">确定</a><a onclick="close_model()" class="btn radius size-L ml-10">取消</a></div>
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="text-c pb-20 pt-10">
                        <div class="text-c pb-20 pt-10">
                            <span class="addpage-query"><input  type="button" onclick="toConfigure()" class="btn btn-secondary radius size-S " value="查询"></span>
                            <input type="reset" id="reset" class="btn radius size-S ml-10 " value="重&nbsp;&nbsp;置">
                            <input style="margin-left: 27px;" type="button" onclick="newConfiguration()" class="btn btn-secondary ml-10 radius size-S  " value="添加">
                        </div>
                    </div>
                    <table class="table table-border table-bg table-hover table-sort" id="toConfiguretable">
                        <thead>
                            <tr class="text-c">
                                <th style="width: 5%;">序号</th>
                                <th style="width: 10%;">名称</th>
                                <th style="width: 10%;">链接</th>
                                <th style="width: 10%;">备注</th>
                                <th style="width: 10%;">创建时间</th>
                                <th style="width: 10%;">操作</th>

                            </tr>
                        </thead>
                        <tbody class="accountshun">

                        </tbody>
                    </table>
                    <div class="mt-40"></div>
                    <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                        <div class="f-r pageturning M-box3"></div>
                    </div>
                </div>
            </div>
            <div class="tabCon bk-gray bg-1" style="display: none;">
                <div class="lh-30 mb-10 ml-20 mt-20">
                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                            <tr>
                                <td class="col-3-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-4" style="width: 95px;">所属二级域名：</label>
                                        <span class="select-box size-M radius col-xs-8" style="width:38%">
                                    <select class="select  resetdatas" name="brandclass" size="1" id="sub_domian">

                                    </select>
                                    </span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <div class="row" style="margin-left: 0px;">
                                        <label class="form-label f-l text-r w-80 lh-26">轮播图标题：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180 resetdatas" id="text" placeholder="请输入轮播图标题" autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <label class="form-label f-l text-r lh-26 w-100">生效时间：</label>
                                    <div class="f-l ml-10">
                                        <input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'logmax\')}',startDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" id="logmin" name="start_time" class="input-text Wdate radius f-l resetdatas" style="width:130px;"
                                            placeholder="请选择时间" autocomplete="off" readonly>
                                        <span class="pd-5 f-l">&nbsp;-&nbsp;</span>
                                        <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\',{m:+1})}',endDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss' })" id="logmax" name="end_time" class="input-text Wdate radius f-l resetdatas" style="width:130px;" placeholder="请选择时间"
                                            autocomplete="off" readonly>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td class="col-3-1">
                                    <div class="row ml-10" style="margin-left: 34px;">
                                        <label class="form-label f-l label-4" style="width: 71px;">生效状态：</label>
                                        <span class="select-box size-M radius col-xs-8" style="width:38%">
                                    <select class="select resetdatas" name="brandclass" size="1" id="status">
                                        <option value="0" selected>请选择</option>
                                        <option value="101">生效</option>
                                        <option value="102">失效</option>
                                        <option value="100">未生效</option>
                                    </select>
                                    </span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-4" style="width: 77px;">轮播图类型：</label>
                                        <span class="select-box size-M radius col-xs-8" style="width:38%">
                                    <select class="select resetdatas" name="brandclass" size="1" id="category_id">
                                        <option value="23" selected>首页轮播图配置</option>
                                        <option value="24">登陆页轮播图配置</option>
                                    </select>
                                    </span>
                                    </div>
                                </td>
                            </tr>

                        </thead>
                    </table>
                    <div id="newrotationChart" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;">
                        <div class="modal-dialog">
                            <div class="modal-content radius" style="height:562px;width:653px;overflow-y: auto;overflow-x: hidden;">
                                <div class="modal-header">
                                    <h3 class="modal-title"><b class="rotationChartTitle">轮播图添加</b></h3>
                                    <a class="close" onclick="close_model()" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true">×</a>
                                </div>
                                <input type="hidden" class="ship_add_id">
                                <div class="pop_win pop_receiver">
                                    <div class="info">
                                        <input id="resourceids" style="display: none">
                                        <div class="clearfix">
                                            <label>*所属二级域名：</label><select style="width: 207px;" class="select" size="1" id="subdomian"></select>
                                        </div>
                                        <div class="clearfix">
                                            <label>*轮播图类型：</label>
                                            <select style="width: 207px;" class="select" size="1" onchange="categoryids()" id="categoryid">
                                            <option value="23" selected>首页轮播图配置</option>
                                            <option value="24">登陆页轮播图配置</option>
                                        </select>
                                        </div>
                                        <div class="clearfix">
                                            <label>*轮播图标题：</label><input name="" type="text" placeholder="请输入轮播图标题" maxlength="40" id="title" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>*图片：</label>
                                            <div class="ceshi pic_up">
                                                <img title="" width="50" height="50" id="rotationChartsrc" src="" class="myImg qing2" class="mr-10">
                                            </div>
                                            <div class="pic_up_btn" style="margin-top: 10px">
                                                <input value="" id="fileUsp1" style="display: none">
                                                <input type="file" id="file" class="fileUp" onchange="rotationChartputDataToPage(event,this)" multiple="multiple" style="display: none">
                                                <span class="ml-10" id="srctext" style="color: #dd0000">图片尺寸:740px*460px</span>
                                                <a class="" onclick="addBtnrotationChart(this,1)" style="margin-left: 8px" id="df1"><span >上传</span></a>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                            <label>*展示顺序：</label><input name="" type="text" placeholder="请输入展示顺序" id="sequence" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>跳转链接：</label><input name="" type="text" placeholder="请输入跳转链接" id="url" class="addAlias qing">
                                        </div>
                                        <div class="clearfix">
                                            <label>底层色值：</label><input name="" type="text" placeholder="请输入底层色值" id="down_color" class="addAlias qing">
                                        </div>

                                        <div class="clearfix">
                                            <label>*时间设置：</label>
                                            <div class="formControls col-sm-9" style="    margin-left: -11px;">
                                                <input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'logmax1\')}',startDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" id="logmin1" name="start_time" class="input-text Wdate radius f-l" style="width:130px;" placeholder="请选择时间"
                                                    autocomplete="off" readonly>
                                                <span class="pd-5 f-l">&nbsp;-&nbsp;</span>
                                                <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin1\',{m:+1})}',endDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss' })" id="logmax1" name="end_time" class="input-text Wdate radius f-l" style="width:130px;" placeholder="请选择时间" autocomplete="off"
                                                    readonly>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="text-c pt-30" style="margin-top: 4px;"><a onclick="rotationChartdetermine()" class="btn btn-secondary radius size-L">保存</a><a onclick="rotationChartclos()" class="btn radius size-L ml-10">取消</a></div>
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="text-c pb-20 pt-10">
                        <div class="text-c pb-20 pt-10">
                            <input type="button" onclick="newrotationChart()" class="btn btn-secondary ml-10 radius size-S  " value="添加">
                            <span style="margin-left: 27px;" class="addpage-query"><input  type="button" onclick="rotationChart()" class="btn btn-secondary radius size-S " value="查询"></span>
                            <input type="reset" onclick="resetdatas()" class="btn radius size-S ml-10 " value="重&nbsp;&nbsp;置">
                        </div>
                    </div>
                    <table class="table table-border table-bg table-hover table-sort" id="rotationCharttable">
                        <thead>
                            <tr class="text-c">
                                <th style="width: 5%;">序号</th>
                                <th style="width: 10%;">所属域名</th>
                                <th style="width: 10%;">标题</th>
                                <th style="width: 10%;">轮播图类型</th>
                                <th style="width: 10%;">生效状态</th>
                                <th style="width: 10%;">生效时间</th>
                                <th style="width: 10%;">失效时间</th>
                                <th style="width: 10%;">展示顺序</th>
                                <th style="width: 10%;">创建人</th>
                                <th style="width: 10%;">创建时间</th>
                                <th style="width: 10%;">操作</th>

                            </tr>
                        </thead>
                        <tbody class="accountshun">

                        </tbody>
                    </table>
                    <div class="mt-40"></div>
                </div>
            </div>
        </div>


    </article>

    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
    <!--/_footer 作为公共模版分离出去-->
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
    <!--表单验证-->
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
    <script src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
    <!--<script src="../../ht-js/Project.js?rev=@@hash"></script>-->
    <!--引入分页-->
    <link rel="stylesheet" href="../../../lib/pagination/pagination.css">
    <script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
    <script src="../../../ht-js/operation-js/secondary_domain_name/secondary_domain_name.js?rev=@@hash"></script>
    <script src="../../../ht-js/operation-js/secondary_domain_name/rotationChart.js?rev=@@hash"></script>

    <!--权限控制-->
    <script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
    <script>
        //重置友链配置
        $('#reset').click(function() {
            $("#name").val("")
            $("#subDomain1").val("")
        })
        jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
            var $tab_menu = $(tabBar);
            // 初始化操作
            $tab_menu.removeClass(class_name);
            $(tabBar).eq(i).addClass(class_name);
            $(tabCon).hide();
            $(tabCon).eq(i).show();

            $tab_menu.bind(tabEvent, function() {
                $tab_menu.removeClass(class_name);
                $(this).addClass(class_name);
                var index = $tab_menu.index(this);
                $(tabCon).hide();
                $(tabCon).eq(index).show()
                if (!$(".tabBar span:eq(0)").hasClass("current")) {
                    $("#modal-company").hide()
                }
            })
        }

        $(function() {
            $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
        });
        //重置
        function resetdatas() {
            $(".resetdatas").val("")
        }
    </script>
</body>

</html>